package com.liujit.standard.basis.admin.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.liujit.standard.basis.admin.domain.result.SysRoleMenuAuthResult;
import com.liujit.standard.basis.admin.model.SysRole;
import com.liujit.standard.basis.admin.domain.params.RoleMenuParam;

/**
 * @Description 系统角色Service实现类
 * @Author LiuJun
 * @Date 2021-03-26 09:00:34
 */
public interface SysRoleService extends IService<SysRole> {

    /**
     * 删除
     *
     * @param id
     * @return
     */
    Boolean del(String id);

    /**
     * 获取角色菜单
     *
     * @param id
     * @return
     */
    SysRoleMenuAuthResult getRoleMenu(Long id);

    /**
     * 保存角色菜单
     *
     * @param param
     * @return
     */
    Boolean saveRoleMenu(RoleMenuParam param);
}
